<!-- 用户留言 -->
<template>
    <div class="page-box h100 display-flex czbj">
      <p class="title-label mb10">用户留言</p>
      <!-- sonRouter="yybureauFormationBJ" 为跳转新的页面编辑 -->
      <dxtable
        :dataJson="dataJson"
        :portUrl="portUrl"
        :formJson="formJson"
        :qx="qx"
        accept=".jpg,.png,,.jpeg,.mp4,.m4v"
        ref="databale"
      ></dxtable>
    </div>
  </template>
  <script lang="ts" setup>
  import dxtable from "../../components/util/dxtable.vue";
  import sort from "../../components/util/sort.vue";
  import { dxget, dxpost } from "../../util/index";
  import { NButton, NImage, NTag, NSwitch } from "naive-ui";
  import { h, ref, reactive, render } from "vue";
  import uxiala from "./components/uxiala.vue";
  const databale = ref();
  const initeer = () => {
    databale.value.initDataExpose();
  };
  const portUrl = "jyc/liuyan/liuyan";
  let dataJson = [
    {
      title: "姓名",
      key: "name",
      search: true,
      width:200,
    },
    {
      title: "手机号",
      key: "phone",
      width:120,
      search: true,
    },
    {
      title: "留言内容",
      key: "neirong",
    }, {
      title: "日期",
      width:160,
      key: "addTime",
    },
  ];
  
  const qx = {
    DeletePermissionID: "jycuserListdel", //删除
    EditPermissionIdentifier: "23456", // 编辑
    NewPermissionIdentifier: "23456", // 新建
    ViewPermissionID: "jycuserListck", // 查看
  };
  
  let formJson = reactive([]);
  const czFun = {
    fun: (row) => {
      return [
        h(
          NButton,
          {
            type: "info",
            quaternary: true,
            onClick: async (e) => {},
          },
          "复制代码"
        ),
      ];
    },
  };
  </script>
  <style scoped></style>
  